import axios from '@/libs/axios'

//部位列表
export const positionList = params => { return axios.post('api/bs/positionList', params).then(res => res.data)};
//部位搜索
export const positionSearch = params => { return axios.post('api/bs/positionSearch', params).then(res => res.data)};
//部位修改
export const positionSet = params => { return axios.post('api/bs/positionSet', params).then(res => res.data)};
//部位新增
export const positionAdd = params => { return axios.post('api/bs/positionAdd', params).then(res => res.data)};

//基码列表
export const basecodeList = params => { return axios.post('api/bs/basecodeList', params).then(res => res.data)};
//基码状态
export const basecodeStatus = params => { return axios.post('api/bs/basecodeStatus', params).then(res => res.data)};
//基码修改
export const basecodeSet = params => { return axios.post('api/bs/basecodeSet', params).then(res => res.data)};

//方案列表
export const planList = params => { return axios.post('api/bs/planList', params).then(res => res.data)};
//方案状态
export const planStatus = params => { return axios.post('api/bs/planStatus', params).then(res => res.data)};
//方案保存
export const planSave = params => { return axios.post('api/bs/planSave', params).then(res => res.data)};
